**************************************** Table 4, Panel B, Columns 1-3 *********************************************
**************************************** ICO Outcomes Analysis ************************************************

clear all

*import ICO outcome regressions data 
import delimited "ico_outcome_regressions.csv"


label variable svi_std  "ICO-SVI"
label variable log_raised  "Funds raised (log)"
label variable relative_raised  "Funds raised (frac. of hardcap)"
label variable contributors  "# Contributors"

*colunm 1
eststo r1: reghdfe log_raised svi_std retention kyc accelerated_pricing platform pre_sale_dummy white_paper_dummy github_dummy team_dummy teamsize, absorb(ico_qtr region) vce(cluster ico_qtr region)
*estimates store r7, title("(2)" "Log Fund Raised")
estadd local fe Yes
estadd local c Yes
estadd local cl Qtr-Region

*colunm 2
eststo r2: reghdfe relative_raised svi_std retention kyc accelerated_pricing platform pre_sale_dummy white_paper_dummy github_dummy team_dummy teamsize, absorb(ico_qtr region) vce(cluster ico_qtr region)
*estimates store r7, title("(2)" "Relative Fund Raised")
estadd local fe Yes
estadd local c Yes
estadd local cl Qtr-Region

*colunm 3
eststo r3: reghdfe contributors svi_std retention kyc accelerated_pricing platform pre_sale_dummy white_paper_dummy github_dummy team_dummy teamsize, absorb(ico_qtr region) vce(cluster ico_qtr region)
*estimates store r7, title("(3)" "# Contributors")
estadd local fe Yes
estadd local c Yes
estadd local cl Qtr-Region

*columns output
esttab r1 r2 r3, replace label se keep(svi_std)  stats(N fe c r2_a, fmt(%9.0g %9.3f) labels(N "Qtr-Region FE" "ICO Controls" "Adj. R-squared")) starlevels( * 0.10 ** 0.05 *** 0.010)